<template>
  <!-- 修改密码 -->
  <div class="reset">
    <returnPage></returnPage>
    <!-- 允许输入数字，调起带符号的纯数字键盘 -->
    <van-field v-model="number" type="number" label="数字" />
    <!-- 输入密码 -->
    <van-field v-model="password" type="password" label="密码" />
    <van-button type="primary" block color="red" @click="reset"
      >重置</van-button
    >
  </div>
</template>

<script>
export default {
  name: 'reset',
  components: {},
  data () {
    return {
      number: '',
      password: ''
    }
  },
  // 计算属性
  computed: {},
  watch: {},
  mounted () {},
  methods: {
    reset () {
      console.log('重置')
    }
  }
}
</script>

<style lang="scss" scoped></style>
